package cn.alone.org.mapper;

import cn.alone.basic.mapper.BaseMapper;
import cn.alone.org.domain.Employee;

/**
 * 员工
 * @author lanan
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    /**
     * 商家入驻对比账号是否存在
     * @param username
     * @return
     */
    Employee loadByUsername(String username);

    Employee loadByLogininfoId(Long id);
}
